package com.neuedu.service;

import com.neuedu.pojo.Business;
import com.neuedu.pojo.PageResult;

import java.util.List;

public interface BusinessService {
    Integer addBus(String account, String password, String telephone, String contact);

    Business selectPart(String account, String password);

    PageResult<List<Business>> selectAll(String account, String telephone, String contact, String currentPage, String pageSize);

    Integer delBus(String id);

    Integer updateBus(String account, String password, String telephone, String contact, String id);
}
